<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/templateLogin.xhtml">

<ui:define name="body">

    <h:form id="loginForm">
    	
    	<div class="boxLogin">
		    <h1>Acesso</h1>
		    <!--<span class="msgErro">Favor preencher os campos em destaque.</span>-->
		        <label>Usuário:</label>
		         <h:inputText id="username"
                              value="#{credentials.username}"/>
		        <br/><br/>
		        <label>Senha:</label>
		        <h:inputSecret id="password"
                                value="#{credentials.password}"/>
				<br/>
		        <span class="btnAcoes">
		            <input type="submit" value="Cancelar"/>
		            <h:commandButton id="submit" value="Login" action="#{identity.login}"/>
		        </span>
		</div>
    
    </h:form>
    
</ui:define>
</ui:composition>    